<?php function _tag_phpcms_tag_category_submenu($data, $number, $rows, $count, $page, $pages, $setting){ global $PHPCMS,$MODULE,$M,$CATEGORY,$TYPE,$AREA,$GROUP,$MODEL,$templateid,$_userid,$_username;@extract($setting);?><?php $data = subcat($module, $catid);?>
<?php if(is_array($data)) foreach($data AS $i => $r) { ?>
<?php if($r[ismenu]) { ?><a href="<?php echo $r['url'];?>"><span><?php echo $r['catname'];?></span></a><?php } ?>
<?php } ?>
<a href="search.php?catid=<?php echo $catid;?>">搜索</a><?php } ?>